package com.niiwoo.activity.event.constant;

/**
 * Created by dengyunhui on 2018/03/09.
 */
public class BizEventRabbitConstant {

    public static class Exchange {
        // 事件公用direct-exchange
        public static final String BIZ_EVENT_DIRECT_EXCHANGE = "biz-event-direct-exchange";
    }

    public static class Queue {
        // 投资事件Queue
        public static final String BIZ_EVENT_INVEST_QUEUE = "biz-event-invest-queue";

        //注册事件Queue
        public static final String BIZ_EVENT_REGISTER_QUEUE = "biz-event-register-queue";

        //存管开通事件Queue
        public static final String BIZ_EVENT_ACCOUNT_QUEUE = "biz-event-account-queue";

        //推荐用户事件Queue
        public static final String BIZ_EVENT_RECOMMEND_QUEUE = "biz-event-recommend-queue";

        //借款满标事件Queue
        public static final String BIZ_EVENT_FULL_BORROW_QUEUE = "biz-event-full-borrow-queue";

        //充值事件Queue
        public static final String BIZ_EVENT_RECHARGE_QUEUE = "biz-event-recharge-queue";

        //用户余额变更事件Queue
        public static final String BIZ_EVENT_ACCOUNT_AMOUNT_CHANGE_QUEUE = "biz-event-account-amount-change-queue";

        //授信事件Queue
        public static final String BIZ_EVENT_CREDIT_QUEUE = "biz-event-credit-queue";

        //可用变更额度事件Queue
        public static final String BIZ_EVENT_CREDIT_CHANGE_USABLE_QUEUE = "biz-event-credit-change-usable-queue";

        //标的审核事件Queue
        public static final String BIZ_EVENT_AUDIT_PROJECT_QUEUE = "biz-event-audit-project-queue";

        //流标事件（不包含审核）Queue
        public static final String BIZ_EVENT_FLOW_PROJECT_QUEUE = "biz-event-flow-project-queue";

        //逾期事件Queue
        public static final String BIZ_EVENT_OVERDUE_PROJECT_QUEUE = "biz-event-overdue-project-queue";

        //红包发放事件Queue
        public static final String BIZ_EVENT_USERPRIZE_SEND_QUEUE = "biz-event-userprize-send-queue";

        //红包使用事件Queue
        public static final String BIZ_EVENT_USERPRIZE_USED_QUEUE = "biz-event-userprize-used-queue";

        //实名事件Queue
        public static final String BIZ_EVENT_USER_REAL_NAME_QUEUE = "biz-event-user-real-name-queue";

        //项目变更事件Queue
        public static final String BIZ_EVENT_PROJECT_STATUS_CHANGE_QUEUE = "biz-event-project-status-change-queue";
    }

    public static class Key {
        // 投资事件Direct Key
        public static final String BIZ_EVENT_INVEST_KEY = "biz-event-invest-queue-key";

        //注册事件key
        public static final String BIZ_EVENT_REGISTER_KEY = "biz-event-register-queue-key";

        //存管开通事件key
        public static final String BIZ_EVENT_ACCOUNT_KEY = "biz-event-account-queue-key";

        //推荐用户事件key
        public static final String BIZ_EVENT_RECOMMEND_KEY = "biz-event-recommend-queue-key";

        //借款成标事件key
        public static final String BIZ_EVENT_FULL_BORROW_KEY = "biz-event-full-borrow-queue-key";

        //充值事件key
        public static final String BIZ_EVENT_RECHARGE_KEY = "biz-event-recharge-queue-key";

        //用户余额变更事件key
        public static final String BIZ_EVENT_ACCOUNT_AMOUNT_CHANGE_KEY = "biz-event-account-amount-change-queue-key";

        //授信事件key
        public static final String BIZ_EVENT_CREDIT_KEY = "biz-event-credit-queue-key";

        //可用变更额度事件key
        public static final String BIZ_EVENT_CREDIT_CHANGE_USABLE_KEY = "biz-event-credit-change-usable-queue-key";

        //标的审核事件key
        public static final String BIZ_EVENT_AUDIT_PROJECT_KEY = "biz-event-audit-project-queue-key";

        //流标事件（不包含审核）key
        public static final String BIZ_EVENT_FLOW_PROJECT_KEY = "biz-event-flow-project-queue-key";

        //逾期事件key
        public static final String BIZ_EVENT_OVERDUE_PROJECT_KEY = "biz-event-overdue-project-queue-key";

        //红包发放事件key
        public static final String BIZ_EVENT_USERPRIZE_SEND_KEY = "biz-event-userprize-send-queue-key";

        //红包使用事件key
        public static final String BIZ_EVENT_USERPRIZE_USED_KEY = "biz-event-userprize-used-queue-key";

        //实名事件key
        public static final String BIZ_EVENT_USER_REAL_NAME_KEY = "biz-event-user-real-name-queue-key";

        //项目变更事件Queue
        public static final String BIZ_EVENT_PROJECT_STATUS_CHANGE_KEY = "biz-event-project-status-change-queue-key";
    }
}
